package cn.com.yusys.yusp.admin.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import cn.com.yusys.yusp.commons.exception.Message;

@Component
public class MessageProviderServiceHystrix implements  MessageProviderService {
	private final Logger log = LoggerFactory.getLogger(MessageProviderServiceHystrix.class);

	@Override
	public Message getMessage(String code) {
		log.error("MessageProviderService.getMessage Triggered fuse");
		return null;
	}
}
